

    \filetitle{acf}{Sample autocovariance and autocorrelation functions}{tseries/acf}

	\paragraph{Syntax}

\begin{verbatim}
[C,R] = acf(X)
[C,R] = acf(X,Dates,...)
\end{verbatim}

\paragraph{Input arguments}

\begin{itemize}
\item
  \texttt{X} {[} tseries {]} - Tseries object.
\item
  \texttt{Dates} {[} numeric \textbar{} Inf {]} - Dates or date range
  from which the input tseries data will be used.
\end{itemize}

\paragraph{Output arguments}

\begin{itemize}
\item
  \texttt{C} {[} numeric {]} - Auto-/cross-covariance matrices.
\item
  \texttt{R} {[} numeric {]} - Auto-/cross-correlation matrices.
\end{itemize}

\paragraph{Options}

\begin{itemize}
\item
  \texttt{\textquotesingle{}demean=\textquotesingle{}} {[}
  \emph{\texttt{true}} \textbar{} \texttt{false} {]} - Remove mean from
  the data before computing the ACF.
\item
  \texttt{\textquotesingle{}order=\textquotesingle{}} {[} numeric
  \textbar{} \emph{\texttt{0}} {]} - Order up to which the ACF will be
  computed.
\item
  \texttt{\textquotesingle{}smallSample=\textquotesingle{}} {[}
  \emph{\texttt{true}} \textbar{} \texttt{false} {]} - Adjust degrees of
  freedom for small samples.
\end{itemize}

\paragraph{Description}

\paragraph{Example}


